{layout name="p/base"}
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>房车管理 <small>房车状态</small></h1>
        <ol class="breadcrumb">
          <li><a href="index.php"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li><a href="/caravan"><i class="fa fa-dashboard"></i> 房车信息列表</a></li>
          <li class="active"><i class="fa fa-table"></i> 房车使用状态信息</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里可以查看房车信息
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <!-- 房车状态start -->
        <form role="form" action="" method="post">
          <table class="table table-striped">
            <caption><h4 class="text-primary">房车基本信息</h4></caption>
            <tbody>
              <tr>
                 <td>房车编号：{$data.number}</td>
                 <td>房车名称：{$data.name}</td>
                 <td>品牌：{$data.carbrands.name}</td>
              </tr>
              <tr>
                 <td>生产厂家：{$data.carrenders.name}</td>
                 <td>等级：标准型</td>
                 <td>国别：{$data.carcountries.name}</td>
              </tr>
              <tr>
                 <td>车型：{$data.car_cates_id}</td>

                 <td>准驾： 
                    {foreach $drive_type as $k => $v}
                     {if in_array($k,$data.drive_type_id)}
                      {$v}
                     {/if}
                    {/foreach}
                 </td>
                 <td>燃油：{$data.fuel}</td>
              </tr>
              <tr>
                 <td>单人床数量：{$data.single_bed_num}张</td>
                 <td>双人床数量：{$data.double_bed_num}张</td>
                 <td>客厅：{$data.sitting_room}</td>
              </tr>
              <tr>
                 <td>厨房：{$data.kitchen}</td>
                 <td>洗手间：{$data.bathroom}</td>
                 <td>外置淋浴器：{$data.the_outer_shower}</td>
              </tr>
              <tr>
                 <td>所属人：武某</td>
                 <td>联系方式：15865896689</td>
                 <td>通讯地址：石家庄市裕华区</td>
              </tr>
             </tbody>
          </table>
          <h4 class="text-primary">房车使用状态</h4>
          <div class="form-group" id="div_select_date">
            <label class="control-label">查看日历</label>
            <input class="form-control date_title" id="select_date" placeholder="请点击查看房车使用状态"></input>
            <div id="datePicker"></div>
          </div>
          <div class="form-group">
            <label class="control-label">所属泊位</label>
            <input class="form-control" value="{$park.park_name}"></input>
          </div>
          <div class="form-group">
            <label class="control-label">现所在泊位</label>
            <input class="form-control" value="{$list.park_name}"></input>
          </div>
          <div class="modal-footer">
            <input type="button" value="返回" class="btn btn-default"  onclick="javascript:history.back(-1);" />
          </div>
        </form>
        <!-- 房车状态end -->
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      
    </div>

  </div><!-- /#page-wrapper -->

